#include "app_mqtt.h"
#include "unistd.h"

int message_callback(char *message_payload)
{
    printf("message_callback : %s\n", message_payload);
    return 0;
}

int main(int argc, char const *argv[])
{
    app_mqtt_init();

    app_mqtt_sendMessage("hello 0305");

    app_mqtt_registerMessageCallback(message_callback );

    while(1)
    {
        sleep(1);
    }

    return 0;
}
